<div class="container">
{php doAction('pub_footer_top')}

<!--底部公共广告位开始-->
{php doAction('gobad','pub_footer')}
<!--底部公共广告位结束-->
</div>

<div class="footer">
<p class="text-dark fs14">
<a class="text-secondary" href="{tsUrl('home','info',array('id'=>'1'))}">关于我们</a> |
<a class="text-secondary" href="{tsUrl('home','info',array('id'=>'2'))}">联系我们</a> |
<a class="text-secondary" href="{tsUrl('home','info',array('id'=>'3'))}">用户条款</a> |
<a class="text-secondary" href="{tsUrl('home','info',array('id'=>'4'))}">隐私申明</a> |
<a class="text-secondary" href="{tsUrl('home','info',array('id'=>'5'))}">加入我们</a>
</p>
<p class="fs12 text-secondary">
       Copyright ©  {php echo date('Y')}   <a class="text-secondary" target="_blank" href="{SITE_URL}">{$GLOBALS['TS_SITE']['site_title']}</a> <a rel="nofollow" target="_blank" href="https://beian.miit.gov.cn/">{$GLOBALS['TS_SITE']['site_icp']}</a>
</p>
<p class="fs12">
    Powered by
    <a target="_blank" class="text-secondary" title="开源社区" href="{$GLOBALS['TS_CF']['info']['url']}">{$GLOBALS['TS_CF']['info']['name']}</a>
    {$GLOBALS['TS_CF']['info']['version']} Processed in {$GLOBALS['TS_CF']['runTime']} second(s)
</p>
</div>
{if intval($GLOBALS['TS_USER']['userid'])}
<script src="{SITE_URL}public/js/imbox/imbox.js" type="text/javascript"></script>
{/if}
<script src="{SITE_URL}public/js/common.js?v=2022" type="text/javascript"></script>
{if is_file('app/'.$GLOBALS['TS_URL']['app'].'/js/extend.func.js')}
<script src="{SITE_URL}app/{$GLOBALS['TS_URL']['app']}/js/extend.func.js?v=20200223" type="text/javascript"></script>
{/if}

{php doAction('pub_footer')}

{if !in_array($ac,array('add','create','edit','upload','show'))}
<script>
//控制footer
footer = $('.footer');//元素
footer_height = footer.height();//元素高度
window_height = $(window).height();//浏览器窗口高度
footer_juli=window_height-(footer_height+footer.offset().top-$(document).scrollTop());//元素到浏览器底部的高度
if(footer_juli>120){
    footer.attr("style","position: fixed;width: 100%;bottom: 0px;")
}
</script>
{/if}
</body>
</html>